<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">

<head>
    <title>登录</title>
</head>
<body>

<form th:action="@{/user/login}">
    用户名：<label>
    <input type="text" name="username"/>
</label>
    密码：<label>
    <input type="text" name="password"/>
</label>
    <label>
        输入验证码： <input type="text" name="code"/>
    </label><img th:src="@{/user/getImage}" alt="" src="">
    <input type="submit" value="登录">
    <a th:href="@{/user/register_view}">注册</a>
</form>
</body>
</html>
